@import '../assets/import.less';

.co-dialog-wrapper {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.co-dialog {
  padding: 0;
  width: 550px;
  border-radius: 14px;
  background-color: @dialogBackgroundColor;
  p {
    margin: 0;
  }
}

.co-dialog-body {
  padding: 30px 40px;
  font-size: 28px;
  color: @colorTextSecondary;
  display: flex;
  line-height: 1.5;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.co-dialog-header {
  padding: 40px 30px 0 30px;
  color: @colorTextPrimary;
  font-size: 36px;
  line-height: 1;
  font-weight: 500;
  text-align: center;
  + .co-dialog-body {
    padding-top: 15px;
  }
}

.co-dialog-actions {
  display: flex;
  justify-content: space-between;
  position: relative;
  .hairline(top, #DCDEE3);
  .co-button {
    flex: 1;
    background: transparent;
    height: 100px;
    color: @colorTextPrimary;
    position: relative;
    .hairline(right, #DCDEE3);
    &:last-child {
      .hairline-remove(right);
    }
  }
  .co-button__wrapper {
    text-align: center;
  }

  .co-button--primary {
    color: @colorBlue;
  }
}
